<?php
require_once 'model/mAreas.php';

class aAreas extends mAreas{
    
    protected $sqlInsert ="INSERT INTO areas(cod_area,nome_area)
        VALUES ('%s','%s')";
    
    
    public function insert (){
        $sql = sprintf($this->sqlInsert,$this->getCodArea(),
                       $this->getNomeArea());
        return $this->RunQuery($sql);
        
    }

    
}